package com.jsy.common.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
public class Message implements Serializable {
    //type
    private String type;
    //audit
    public static final String TYPE_GOODS_AUDIT="1";
    //delete
    public static final String TYPE_GOODS_DELETE="2";
    //content
    private Object content;

    public Message(String type,Object content){
        this.type=type;
        this.content=content;
    }
}
